package leetcode.code0458;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution458 implements IDebug {
	public abstract int poorPigs(int buckets, int minutesToDie, int minutesToTest);

	@Override
	public void debug1() {
		int buckets = 1000;
		int minutesToDie = 15;
		int minutesToTest = 60;
		int e = 5;
		int r = this.poorPigs(buckets, minutesToDie, minutesToTest);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		int buckets = 4;
		int minutesToDie = 15;
		int minutesToTest = 15;
		int e = 2;
		int r = this.poorPigs(buckets, minutesToDie, minutesToTest);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		int buckets = 4;
		int minutesToDie = 15;
		int minutesToTest = 30;
		int e = 2;
		int r = this.poorPigs(buckets, minutesToDie, minutesToTest);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
